const express = require('express');
const path = require('path');
const app = express();
const port = 3333;
const { main } = require("./app.js")
// 托管静态文件
app.use(express.static(path.join(__dirname)));

// 启动服务器
app.listen(port, () => {
    console.log(`Server is running on port ${port}`);
});

setInterval(main, 60 * 1000)
